package com.adingxiong.cft.design.builder;

/**
 * @ClassName MealBuilder
 * @Description TODO
 * @Author xiongchao
 * @Date 2021/1/7 16:49
 **/
public class MealBuilder {

    public Meal perparVagetable(){
        Meal meal = new Meal();
        meal.addItem(new Vagetable());
        meal.addItem(new Hanbeger());

        return meal;
    }

    public Meal perparNoVageTable(){
        Meal meal = new Meal();
        meal.addItem(new Cafe());
        meal.addItem(new Tea());
        return meal;
    }
}
